package mqq.model;

/**
 * Class for edges in a Decision Lines Event
 * @author mqq
 */
public class Edge {
	/** The position of the line on the left */
	int left;
	
	/** The height of this edge */
	int height;
	
	/** The position of the line on the right */
	int right;
	
	public Edge (int left, int right, int height) {
		this.left = left;
		this.right = right;
		this.height = height;
	}
	
	/**
	 * Get the left line position
	 * @return  The left line position
	 */
	public int getLeft() {
		return this.left;
	}
	
	/**
	 * Get the right line position
	 * @return  The right line position
	 */
	public int getRight() {
		return this.right;
	}
	
	/**
	 * Get the height of the edge
	 * @return  The height of the edge
	 */
	public int getHeight() {
		return this.height;
	}
}
